public class J05fuzhi {
    public static void main(String[] args) {
        int a = 3;
        int b = a;
        a = 9;
        System.out.println("a = " + a);//9
        System.out.println("b = " + b);//3

        System.out.println("=====");
        int num6 = 3;
        f1(num6);
        System.out.println("num1 = " + num6);//3
        System.out.println("==2222===");
        int num1 = 7;
        f1(num1);
        System.out.println("num1 = " + num1);//7
    }

    public static void f1(int num1){
        num1 = 0;
    }
}

class Arr2Test{
    public static void main(String[] args) {
        int[] arr = {1,2,3};//0x100

        int[] arrx = arr;
        changeArr(arr);
        System.out.println(arr[0]);//100

        int[] arr3 = {30,40};
        System.out.println("arr3 = " + arr3);
    }

    //0x100
    public static void changeArr(int[] arr) {
        arr[0] = 100;

        int[] arr3 = {3,4};
    }
}

class AA{
    public static void main(String[] args) {
        int[] arr1 = {1,2};
    }
}